package com.spring.cloud.client.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.spring.cloud.client.service.ConsumerService;

import lombok.extern.slf4j.Slf4j;

@RestController
@Slf4j
public class ConsumerController {

	@Autowired
	ConsumerService consumerService;

	@GetMapping("/add")
	public String add( ) {
		return  consumerService.add();
	}
}
